{include file="public/header" /}
<link rel="stylesheet" href="/static/admin/css/base.css" media="all">
<style>
    .layui-form-item {
        margin-bottom: 15px !important;
        clear: both;
        *zoom: 1;
    }
    .goBack{
        float: left;cursor:pointer;
        font-weight: bold;
        font-size: 15px;
    }
    .center{
        font-weight: bold;
        font-size: 15px;
    }
</style>
<body>
<div class="layui-fluid layui-anim layui-anim-downbit">
    <div class="layui-card">
        <div class="layui-card-body" style="padding: 15px;">
            <form class="layui-form " id="form">
                <input type="hidden" name="id" value="{$info.id}">
                <fieldset class="layui-elem-field layui-field-title">
                    <legend>订单信息</legend>
                </fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label">订单编号</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" value="{$info.sn}" readonly="" >
                    </div>
                    <label class="layui-form-label">下单时间</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" value="{$info.create_time}" readonly="" >
                    </div>
                    <label class="layui-form-label">订单状态</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" value="{$info.status}" disabled="" style="color: red">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">支付方式</label>
                    <div class="layui-input-inline">
                        <input type="text" readonly="" autocomplete="off" class="layui-input" value="{$info.pay_way}"/>
                    </div>
                    <label class="layui-form-label">支付状态</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" value="{$info.pay_state?'已支付':'未支付'}" readonly="">
                    </div>
                    <label class="layui-form-label">支付时间</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" value="{neq name='$info.pay_time' value=''}{:date('Y-m-d H:i:s',$info.pay_time)}{/neq}" placeholder="未支付" readonly="">
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title">
                    <legend>下单会员</legend>
                </fieldset>
                <div class="layui-form-item">

                    <label class="layui-form-label">会员编号</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" value="{$info.user.code}" disabled="">
                    </div>

                    <label class="layui-form-label">会员昵称</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" value="{$info.user.nickname}" disabled="">
                    </div>
                    <label class="layui-form-label">会员手机号</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" value="{$info.user.mobile}" disabled="">
                    </div>
                </div>

                <fieldset class="layui-elem-field layui-field-title">
                    <legend>订单课程</legend>
                </fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label">订单课程</label>
                    <div class="layui-input-inline" style="width: 80%;">
                        <table class="layui-table layui-form" style="margin: 0px;">
                            <thead>
                            <tr>
                                <th>课程名称</th>
                                <th>缩略图</th>

                            </tr>
                            </thead>
                            <tbody>

                            <tr class="data_line">
                                <td>{$info.curriculum_name}</td>
                                <td><a href="{$info.curriculum_image}" target="_blank"><img src="{$info.curriculum_image}" style="width: 30px"/></a></td>
                            </tr>
                            </tbody>

                        </table>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

</body>
{include file="public/footer" /}
</html>
